<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>IRremoteESP8266: IRRhossAc Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">IRremoteESP8266
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classIRRhossAc-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">IRRhossAc Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Class for handling detailed Rhoss A/C messages.  
 <a href="classIRRhossAc.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="ir__Rhoss_8h_source.html">ir_Rhoss.h</a>&gt;</code></p>
<div class="dynheader">
Collaboration diagram for IRRhossAc:</div>
<div class="dyncontent">
<div class="center"><img src="classIRRhossAc__coll__graph.png" border="0" usemap="#IRRhossAc_coll__map" alt="Collaboration graph"/></div>
<map name="IRRhossAc_coll__map" id="IRRhossAc_coll__map">
<area shape="rect" title="Class for handling detailed Rhoss A/C messages." alt="" coords="51,95,141,121"/>
<area shape="rect" href="classIRsend.html" title="Class for sending all basic IR protocols." alt="" coords="5,5,72,32"/>
<area shape="rect" href="unionRhossProtocol.html" title="Native representation of a Rhoss A/C message." alt="" coords="96,5,211,32"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a8da6d45931dd023a468eee083d45f6d3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a8da6d45931dd023a468eee083d45f6d3">IRRhossAc</a> (const uint16_t pin, const bool inverted=false, const bool use_modulation=true)</td></tr>
<tr class="memdesc:a8da6d45931dd023a468eee083d45f6d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="classIRRhossAc.html#a8da6d45931dd023a468eee083d45f6d3">More...</a><br /></td></tr>
<tr class="separator:a8da6d45931dd023a468eee083d45f6d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a733ff2b161901dd24599e2043b525859"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a733ff2b161901dd24599e2043b525859">stateReset</a> ()</td></tr>
<tr class="memdesc:a733ff2b161901dd24599e2043b525859"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the internals of the object to a known good state.  <a href="classIRRhossAc.html#a733ff2b161901dd24599e2043b525859">More...</a><br /></td></tr>
<tr class="separator:a733ff2b161901dd24599e2043b525859"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a815a234f3c73060e9b1671d9475a943f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a815a234f3c73060e9b1671d9475a943f">send</a> (const uint16_t repeat=<a class="el" href="IRremoteESP8266_8h.html#af54dd9a02bd56d596eb7fde295171d13">kRhossDefaultRepeat</a>)</td></tr>
<tr class="memdesc:a815a234f3c73060e9b1671d9475a943f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Send the current internal state as an IR message.  <a href="classIRRhossAc.html#a815a234f3c73060e9b1671d9475a943f">More...</a><br /></td></tr>
<tr class="separator:a815a234f3c73060e9b1671d9475a943f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af08d9df6d324aff21b41a5d99d1f2bf0"><td class="memItemLeft" align="right" valign="top">int8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#af08d9df6d324aff21b41a5d99d1f2bf0">calibrate</a> (void)</td></tr>
<tr class="memdesc:af08d9df6d324aff21b41a5d99d1f2bf0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Run the calibration to calculate uSec timing offsets for this platform.  <a href="classIRRhossAc.html#af08d9df6d324aff21b41a5d99d1f2bf0">More...</a><br /></td></tr>
<tr class="separator:af08d9df6d324aff21b41a5d99d1f2bf0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71a06e1bc4ddfcf393f04edd6a5bb071"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a71a06e1bc4ddfcf393f04edd6a5bb071">begin</a> ()</td></tr>
<tr class="memdesc:a71a06e1bc4ddfcf393f04edd6a5bb071"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set up hardware to be able to send a message.  <a href="classIRRhossAc.html#a71a06e1bc4ddfcf393f04edd6a5bb071">More...</a><br /></td></tr>
<tr class="separator:a71a06e1bc4ddfcf393f04edd6a5bb071"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a795d214d36f15f1078a47539dde48f0a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a795d214d36f15f1078a47539dde48f0a">setPower</a> (const bool state)</td></tr>
<tr class="memdesc:a795d214d36f15f1078a47539dde48f0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state to have the desired power.  <a href="classIRRhossAc.html#a795d214d36f15f1078a47539dde48f0a">More...</a><br /></td></tr>
<tr class="separator:a795d214d36f15f1078a47539dde48f0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad341b874d6283b6665349897570ed28f"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#ad341b874d6283b6665349897570ed28f">getPower</a> (void) const</td></tr>
<tr class="memdesc:ad341b874d6283b6665349897570ed28f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the power setting from the internal state.  <a href="classIRRhossAc.html#ad341b874d6283b6665349897570ed28f">More...</a><br /></td></tr>
<tr class="separator:ad341b874d6283b6665349897570ed28f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2e4ed97965c68a20e4b73de0bd309f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#af2e4ed97965c68a20e4b73de0bd309f4">on</a> (void)</td></tr>
<tr class="memdesc:af2e4ed97965c68a20e4b73de0bd309f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state to have the power on.  <a href="classIRRhossAc.html#af2e4ed97965c68a20e4b73de0bd309f4">More...</a><br /></td></tr>
<tr class="separator:af2e4ed97965c68a20e4b73de0bd309f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab44d79e8bdb5fa7c921bf4c9cdffcca5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#ab44d79e8bdb5fa7c921bf4c9cdffcca5">off</a> (void)</td></tr>
<tr class="memdesc:ab44d79e8bdb5fa7c921bf4c9cdffcca5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the internal state to have the power off.  <a href="classIRRhossAc.html#ab44d79e8bdb5fa7c921bf4c9cdffcca5">More...</a><br /></td></tr>
<tr class="separator:ab44d79e8bdb5fa7c921bf4c9cdffcca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54817f6718354dfdeb9333077e30f65b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a54817f6718354dfdeb9333077e30f65b">setTemp</a> (const uint8_t temp)</td></tr>
<tr class="memdesc:a54817f6718354dfdeb9333077e30f65b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the temperature.  <a href="classIRRhossAc.html#a54817f6718354dfdeb9333077e30f65b">More...</a><br /></td></tr>
<tr class="separator:a54817f6718354dfdeb9333077e30f65b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada89aeccade2eab4ff2ad428f55bfafd"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#ada89aeccade2eab4ff2ad428f55bfafd">getTemp</a> (void) const</td></tr>
<tr class="memdesc:ada89aeccade2eab4ff2ad428f55bfafd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current temperature setting.  <a href="classIRRhossAc.html#ada89aeccade2eab4ff2ad428f55bfafd">More...</a><br /></td></tr>
<tr class="separator:ada89aeccade2eab4ff2ad428f55bfafd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e399b342dbac4e5073e72caae283f8b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a7e399b342dbac4e5073e72caae283f8b">setFan</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a7e399b342dbac4e5073e72caae283f8b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the speed of the fan.  <a href="classIRRhossAc.html#a7e399b342dbac4e5073e72caae283f8b">More...</a><br /></td></tr>
<tr class="separator:a7e399b342dbac4e5073e72caae283f8b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33ac5db823a7b959981287582a6a668f"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a33ac5db823a7b959981287582a6a668f">getFan</a> (void) const</td></tr>
<tr class="memdesc:a33ac5db823a7b959981287582a6a668f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current fan speed setting.  <a href="classIRRhossAc.html#a33ac5db823a7b959981287582a6a668f">More...</a><br /></td></tr>
<tr class="separator:a33ac5db823a7b959981287582a6a668f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd1e8aaeb8597280113d0d56f36d7b23"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#afd1e8aaeb8597280113d0d56f36d7b23">setSwing</a> (const bool state)</td></tr>
<tr class="memdesc:afd1e8aaeb8597280113d0d56f36d7b23"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the Vertical Swing mode of the A/C.  <a href="classIRRhossAc.html#afd1e8aaeb8597280113d0d56f36d7b23">More...</a><br /></td></tr>
<tr class="separator:afd1e8aaeb8597280113d0d56f36d7b23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7b7ee47a2dd93548aecb79a024d8565d"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a7b7ee47a2dd93548aecb79a024d8565d">getSwing</a> (void) const</td></tr>
<tr class="memdesc:a7b7ee47a2dd93548aecb79a024d8565d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Vertical Swing speed of the A/C.  <a href="classIRRhossAc.html#a7b7ee47a2dd93548aecb79a024d8565d">More...</a><br /></td></tr>
<tr class="separator:a7b7ee47a2dd93548aecb79a024d8565d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7b9db71445eda823d6b7a8d4286f8f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#ab7b9db71445eda823d6b7a8d4286f8f7">setMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:ab7b9db71445eda823d6b7a8d4286f8f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the desired operation mode.  <a href="classIRRhossAc.html#ab7b9db71445eda823d6b7a8d4286f8f7">More...</a><br /></td></tr>
<tr class="separator:ab7b9db71445eda823d6b7a8d4286f8f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94003fdc07c0adb680c4c684b1ece6ca"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a94003fdc07c0adb680c4c684b1ece6ca">getMode</a> (void) const</td></tr>
<tr class="memdesc:a94003fdc07c0adb680c4c684b1ece6ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current operation mode setting.  <a href="classIRRhossAc.html#a94003fdc07c0adb680c4c684b1ece6ca">More...</a><br /></td></tr>
<tr class="separator:a94003fdc07c0adb680c4c684b1ece6ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a856c35df964b434e1b6da95e2d690915"><td class="memItemLeft" align="right" valign="top">uint8_t *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a856c35df964b434e1b6da95e2d690915">getRaw</a> (void)</td></tr>
<tr class="memdesc:a856c35df964b434e1b6da95e2d690915"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the raw state of the object, suitable to be sent with the appropriate <a class="el" href="classIRsend.html" title="Class for sending all basic IR protocols.">IRsend</a> object method.  <a href="classIRRhossAc.html#a856c35df964b434e1b6da95e2d690915">More...</a><br /></td></tr>
<tr class="separator:a856c35df964b434e1b6da95e2d690915"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af92e816a67ce3a058f1213d9cb8df24d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#af92e816a67ce3a058f1213d9cb8df24d">setRaw</a> (const uint8_t state[])</td></tr>
<tr class="memdesc:af92e816a67ce3a058f1213d9cb8df24d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the raw state of the object.  <a href="classIRRhossAc.html#af92e816a67ce3a058f1213d9cb8df24d">More...</a><br /></td></tr>
<tr class="separator:af92e816a67ce3a058f1213d9cb8df24d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab38bf387463c9e54c2a6fdf714c474af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#ab38bf387463c9e54c2a6fdf714c474af">toCommon</a> (void) const</td></tr>
<tr class="memdesc:ab38bf387463c9e54c2a6fdf714c474af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent.  <a href="classIRRhossAc.html#ab38bf387463c9e54c2a6fdf714c474af">More...</a><br /></td></tr>
<tr class="separator:ab38bf387463c9e54c2a6fdf714c474af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70edcf0cf526f161915d1da05c912387"><td class="memItemLeft" align="right" valign="top"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a70edcf0cf526f161915d1da05c912387">toString</a> (void) const</td></tr>
<tr class="memdesc:a70edcf0cf526f161915d1da05c912387"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert the current internal state into a human readable string.  <a href="classIRRhossAc.html#a70edcf0cf526f161915d1da05c912387">More...</a><br /></td></tr>
<tr class="separator:a70edcf0cf526f161915d1da05c912387"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a6e014603c9ea45c22badad195ae53d9c"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a6e014603c9ea45c22badad195ae53d9c">calcChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a279be665d626310b042ed6c4be9676e5">kRhossStateLength</a>)</td></tr>
<tr class="memdesc:a6e014603c9ea45c22badad195ae53d9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the checksum for the supplied state.  <a href="classIRRhossAc.html#a6e014603c9ea45c22badad195ae53d9c">More...</a><br /></td></tr>
<tr class="separator:a6e014603c9ea45c22badad195ae53d9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a89d9019d92f80450bc24927d936e64cd"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a89d9019d92f80450bc24927d936e64cd">validChecksum</a> (const uint8_t state[], const uint16_t length=<a class="el" href="IRremoteESP8266_8h.html#a279be665d626310b042ed6c4be9676e5">kRhossStateLength</a>)</td></tr>
<tr class="memdesc:a89d9019d92f80450bc24927d936e64cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Verify the checksum is valid for a given state.  <a href="classIRRhossAc.html#a89d9019d92f80450bc24927d936e64cd">More...</a><br /></td></tr>
<tr class="separator:a89d9019d92f80450bc24927d936e64cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5de351a33e35d1b9f83ec9e2964d88dd"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a5de351a33e35d1b9f83ec9e2964d88dd">convertMode</a> (const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> mode)</td></tr>
<tr class="memdesc:a5de351a33e35d1b9f83ec9e2964d88dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode.  <a href="classIRRhossAc.html#a5de351a33e35d1b9f83ec9e2964d88dd">More...</a><br /></td></tr>
<tr class="separator:a5de351a33e35d1b9f83ec9e2964d88dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97e9c4909a8ad2d100ed21ffb4d28cfa"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a97e9c4909a8ad2d100ed21ffb4d28cfa">convertFan</a> (const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> speed)</td></tr>
<tr class="memdesc:a97e9c4909a8ad2d100ed21ffb4d28cfa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed.  <a href="classIRRhossAc.html#a97e9c4909a8ad2d100ed21ffb4d28cfa">More...</a><br /></td></tr>
<tr class="separator:a97e9c4909a8ad2d100ed21ffb4d28cfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f973e3b98eb2e95b0b2b36236d86a48"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a8f973e3b98eb2e95b0b2b36236d86a48">toCommonMode</a> (const uint8_t mode)</td></tr>
<tr class="memdesc:a8f973e3b98eb2e95b0b2b36236d86a48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRRhossAc.html#a8f973e3b98eb2e95b0b2b36236d86a48">More...</a><br /></td></tr>
<tr class="separator:a8f973e3b98eb2e95b0b2b36236d86a48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f784618db017a743855d742cadba717"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a0f784618db017a743855d742cadba717">toCommonFanSpeed</a> (const uint8_t speed)</td></tr>
<tr class="memdesc:a0f784618db017a743855d742cadba717"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent.  <a href="classIRRhossAc.html#a0f784618db017a743855d742cadba717">More...</a><br /></td></tr>
<tr class="separator:a0f784618db017a743855d742cadba717"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a3062acbd9829a8237a017949b6c5b74a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#a3062acbd9829a8237a017949b6c5b74a">checksum</a> (void)</td></tr>
<tr class="memdesc:a3062acbd9829a8237a017949b6c5b74a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Update the checksum value for the internal state.  <a href="classIRRhossAc.html#a3062acbd9829a8237a017949b6c5b74a">More...</a><br /></td></tr>
<tr class="separator:a3062acbd9829a8237a017949b6c5b74a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:ad65bbce86f06bde6ff228d64e09e1ae0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classIRsend.html">IRsend</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#ad65bbce86f06bde6ff228d64e09e1ae0">_irsend</a></td></tr>
<tr class="separator:ad65bbce86f06bde6ff228d64e09e1ae0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecf3f1c8d9862a228672c4849208171f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="unionRhossProtocol.html">RhossProtocol</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classIRRhossAc.html#aecf3f1c8d9862a228672c4849208171f">_</a></td></tr>
<tr class="separator:aecf3f1c8d9862a228672c4849208171f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Class for handling detailed Rhoss A/C messages. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a8da6d45931dd023a468eee083d45f6d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8da6d45931dd023a468eee083d45f6d3">&#9670;&nbsp;</a></span>IRRhossAc()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">IRRhossAc::IRRhossAc </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>pin</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>inverted</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>use_modulation</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Class constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">pin</td><td>GPIO to be used when sending. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">inverted</td><td>Is the output signal to be inverted? </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">use_modulation</td><td>Is frequency modulation to be used? </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a71a06e1bc4ddfcf393f04edd6a5bb071"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71a06e1bc4ddfcf393f04edd6a5bb071">&#9670;&nbsp;</a></span>begin()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::begin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set up hardware to be able to send a message. </p>

</div>
</div>
<a id="a6e014603c9ea45c22badad195ae53d9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e014603c9ea45c22badad195ae53d9c">&#9670;&nbsp;</a></span>calcChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRRhossAc::calcChecksum </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>state</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a279be665d626310b042ed6c4be9676e5">kRhossStateLength</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Calculate the checksum for the supplied state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The source state to generate the checksum from. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>Length of the supplied state to checksum. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The checksum value. </dd></dl>

</div>
</div>
<a id="af08d9df6d324aff21b41a5d99d1f2bf0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af08d9df6d324aff21b41a5d99d1f2bf0">&#9670;&nbsp;</a></span>calibrate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int8_t IRRhossAc::calibrate </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Run the calibration to calculate uSec timing offsets for this platform. </p>
<dl class="section return"><dt>Returns</dt><dd>The uSec timing offset needed per modulation of the IR Led. </dd></dl>
<dl class="section note"><dt>Note</dt><dd>This will produce a 65ms IR signal pulse at 38kHz. Only ever needs to be run once per object instantiation, if at all. </dd></dl>

</div>
</div>
<a id="a3062acbd9829a8237a017949b6c5b74a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3062acbd9829a8237a017949b6c5b74a">&#9670;&nbsp;</a></span>checksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::checksum </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Update the checksum value for the internal state. </p>

</div>
</div>
<a id="a97e9c4909a8ad2d100ed21ffb4d28cfa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97e9c4909a8ad2d100ed21ffb4d28cfa">&#9670;&nbsp;</a></span>convertFan()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRRhossAc::convertFan </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a>&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383" title="Common A/C settings for Fan Speeds.">stdAc::fanspeed_t</a> enum into it's native speed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="a5de351a33e35d1b9f83ec9e2964d88dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5de351a33e35d1b9f83ec9e2964d88dd">&#9670;&nbsp;</a></span>convertMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRRhossAc::convertMode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a <a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f" title="Common A/C settings for A/C operating modes.">stdAc::opmode_t</a> enum into its native mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The enum to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The native equivalent of the enum. </dd></dl>

</div>
</div>
<a id="a33ac5db823a7b959981287582a6a668f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33ac5db823a7b959981287582a6a668f">&#9670;&nbsp;</a></span>getFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRRhossAc::getFan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current fan speed setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current fan speed. </dd></dl>

</div>
</div>
<a id="a94003fdc07c0adb680c4c684b1ece6ca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a94003fdc07c0adb680c4c684b1ece6ca">&#9670;&nbsp;</a></span>getMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRRhossAc::getMode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current operation mode setting. </p>
<dl class="section return"><dt>Returns</dt><dd>The current operation mode. </dd></dl>

</div>
</div>
<a id="ad341b874d6283b6665349897570ed28f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad341b874d6283b6665349897570ed28f">&#9670;&nbsp;</a></span>getPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool IRRhossAc::getPower </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the power setting from the internal state. </p>
<dl class="section return"><dt>Returns</dt><dd>A boolean indicating the power setting. </dd></dl>

</div>
</div>
<a id="a856c35df964b434e1b6da95e2d690915"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a856c35df964b434e1b6da95e2d690915">&#9670;&nbsp;</a></span>getRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t * IRRhossAc::getRaw </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the raw state of the object, suitable to be sent with the appropriate <a class="el" href="classIRsend.html" title="Class for sending all basic IR protocols.">IRsend</a> object method. </p>
<dl class="section return"><dt>Returns</dt><dd>A PTR to the internal state. </dd></dl>

</div>
</div>
<a id="a7b7ee47a2dd93548aecb79a024d8565d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7b7ee47a2dd93548aecb79a024d8565d">&#9670;&nbsp;</a></span>getSwing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRRhossAc::getSwing </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the Vertical Swing speed of the A/C. </p>
<dl class="section return"><dt>Returns</dt><dd>The native swing speed setting. </dd></dl>

</div>
</div>
<a id="ada89aeccade2eab4ff2ad428f55bfafd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada89aeccade2eab4ff2ad428f55bfafd">&#9670;&nbsp;</a></span>getTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t IRRhossAc::getTemp </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current temperature setting. </p>
<dl class="section return"><dt>Returns</dt><dd>Get current setting for temp. in degrees celsius. </dd></dl>

</div>
</div>
<a id="ab44d79e8bdb5fa7c921bf4c9cdffcca5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab44d79e8bdb5fa7c921bf4c9cdffcca5">&#9670;&nbsp;</a></span>off()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::off </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state to have the power off. </p>

</div>
</div>
<a id="af2e4ed97965c68a20e4b73de0bd309f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2e4ed97965c68a20e4b73de0bd309f4">&#9670;&nbsp;</a></span>on()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::on </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state to have the power on. </p>

</div>
</div>
<a id="a815a234f3c73060e9b1671d9475a943f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a815a234f3c73060e9b1671d9475a943f">&#9670;&nbsp;</a></span>send()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::send </td>
          <td>(</td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>repeat</em> = <code><a class="el" href="IRremoteESP8266_8h.html#af54dd9a02bd56d596eb7fde295171d13">kRhossDefaultRepeat</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Send the current internal state as an IR message. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">repeat</td><td>Nr. of times the message will be repeated. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a7e399b342dbac4e5073e72caae283f8b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e399b342dbac4e5073e72caae283f8b">&#9670;&nbsp;</a></span>setFan()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::setFan </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the speed of the fan. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The desired setting. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab7b9db71445eda823d6b7a8d4286f8f7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7b9db71445eda823d6b7a8d4286f8f7">&#9670;&nbsp;</a></span>setMode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::setMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the desired operation mode. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The desired operation mode. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a795d214d36f15f1078a47539dde48f0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a795d214d36f15f1078a47539dde48f0a">&#9670;&nbsp;</a></span>setPower()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::setPower </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>on</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the internal state to have the desired power. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">on</td><td>The desired power state. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="af92e816a67ce3a058f1213d9cb8df24d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af92e816a67ce3a058f1213d9cb8df24d">&#9670;&nbsp;</a></span>setRaw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::setRaw </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>state</em>[]</td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the raw state of the object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">[state]</td><td>state The raw state from the native IR message. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="afd1e8aaeb8597280113d0d56f36d7b23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd1e8aaeb8597280113d0d56f36d7b23">&#9670;&nbsp;</a></span>setSwing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::setSwing </td>
          <td>(</td>
          <td class="paramtype">const bool&#160;</td>
          <td class="paramname"><em>state</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the Vertical Swing mode of the A/C. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>true, the Swing is on. false, the Swing is off. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a54817f6718354dfdeb9333077e30f65b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a54817f6718354dfdeb9333077e30f65b">&#9670;&nbsp;</a></span>setTemp()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::setTemp </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>degrees</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the temperature. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">degrees</td><td>The temperature in degrees celsius. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a733ff2b161901dd24599e2043b525859"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a733ff2b161901dd24599e2043b525859">&#9670;&nbsp;</a></span>stateReset()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void IRRhossAc::stateReset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset the internals of the object to a known good state. </p>

</div>
</div>
<a id="ab38bf387463c9e54c2a6fdf714c474af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab38bf387463c9e54c2a6fdf714c474af">&#9670;&nbsp;</a></span>toCommon()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structstdAc_1_1state__t.html">stdAc::state_t</a> IRRhossAc::toCommon </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into its <a class="el" href="structstdAc_1_1state__t.html" title="Structure to hold a common A/C state.">stdAc::state_t</a> equivalent. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native settings. </dd></dl>

</div>
</div>
<a id="a0f784618db017a743855d742cadba717"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0f784618db017a743855d742cadba717">&#9670;&nbsp;</a></span>toCommonFanSpeed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a8bb0dbf18fe69f639f4ac0b3ff133383">stdAc::fanspeed_t</a> IRRhossAc::toCommonFanSpeed </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>speed</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native fan speed into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">speed</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="a8f973e3b98eb2e95b0b2b36236d86a48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f973e3b98eb2e95b0b2b36236d86a48">&#9670;&nbsp;</a></span>toCommonMode()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespacestdAc.html#a99ad268c783486f9b3207cb78f48444f">stdAc::opmode_t</a> IRRhossAc::toCommonMode </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a native mode into its <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">mode</td><td>The native setting to be converted. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="namespacestdAc.html" title="Enumerators and Structures for the Common A/C API.">stdAc</a> equivalent of the native setting. </dd></dl>

</div>
</div>
<a id="a70edcf0cf526f161915d1da05c912387"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a70edcf0cf526f161915d1da05c912387">&#9670;&nbsp;</a></span>toString()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="IRremoteESP8266_8h.html#afbeda3fd1bdc8c37d01bdf9f5c8274ff">String</a> IRRhossAc::toString </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert the current internal state into a human readable string. </p>
<dl class="section return"><dt>Returns</dt><dd>A human readable string. </dd></dl>

</div>
</div>
<a id="a89d9019d92f80450bc24927d936e64cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a89d9019d92f80450bc24927d936e64cd">&#9670;&nbsp;</a></span>validChecksum()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool IRRhossAc::validChecksum </td>
          <td>(</td>
          <td class="paramtype">const uint8_t&#160;</td>
          <td class="paramname"><em>state</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const uint16_t&#160;</td>
          <td class="paramname"><em>length</em> = <code><a class="el" href="IRremoteESP8266_8h.html#a279be665d626310b042ed6c4be9676e5">kRhossStateLength</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Verify the checksum is valid for a given state. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">state</td><td>The array to verify the checksum of. </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">length</td><td>The size of the state. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A boolean indicating if it's checksum is valid. </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aecf3f1c8d9862a228672c4849208171f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecf3f1c8d9862a228672c4849208171f">&#9670;&nbsp;</a></span>_</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="unionRhossProtocol.html">RhossProtocol</a> IRRhossAc::_</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad65bbce86f06bde6ff228d64e09e1ae0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad65bbce86f06bde6ff228d64e09e1ae0">&#9670;&nbsp;</a></span>_irsend</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classIRsend.html">IRsend</a> IRRhossAc::_irsend</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>src/<a class="el" href="ir__Rhoss_8h_source.html">ir_Rhoss.h</a></li>
<li>src/<a class="el" href="ir__Rhoss_8cpp.html">ir_Rhoss.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
